// 将token存储到localStorage
export const setToken = (token: string) => {
    localStorage.setItem('token', token);
};
// 从localStorage获取token
export const getToken = () => {
    return localStorage.getItem('token') || '';
}
// 从localStorage删除token
export const removeToken = () => {
    localStorage.removeItem('token');
}
